3.1849 \(\int \frac{1}{\left (a+\frac{b}{x^2}\right ) x^2} \, dx\)

Optimal. Leaf size=24 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{\sqrt{a} \sqrt{b}} \]

[Out]

ArcTan[(Sqrt[a]*x)/Sqrt[b]]/(Sqrt[a]*Sqrt[b])

_______________________________________________________________________________________

Rubi [A]  time = 0.0282907, antiderivative size = 24, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154 \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{\sqrt{a} \sqrt{b}} \]

Antiderivative was successfully verified.

[In]  Int[1/((a + b/x^2)*x^2),x]

[Out]

ArcTan[(Sqrt[a]*x)/Sqrt[b]]/(Sqrt[a]*Sqrt[b])

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 4.10977, size = 22, normalized size = 0.92 \[ \frac{\operatorname{atan}{\left (\frac{\sqrt{a} x}{\sqrt{b}} \right )}}{\sqrt{a} \sqrt{b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(1/(a+b/x**2)/x**2,x)

[Out]

atan(sqrt(a)*x/sqrt(b))/(sqrt(a)*sqrt(b))

_______________________________________________________________________________________

Mathematica [A]  time = 0.00812181, size = 24, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{\sqrt{a} x}{\sqrt{b}}\right )}{\sqrt{a} \sqrt{b}} \]

Antiderivative was successfully verified.

[In]  Integrate[1/((a + b/x^2)*x^2),x]

[Out]

ArcTan[(Sqrt[a]*x)/Sqrt[b]]/(Sqrt[a]*Sqrt[b])

_______________________________________________________________________________________

Maple [A]  time = 0.001, size = 16, normalized size = 0.7 \[{1\arctan \left ({ax{\frac{1}{\sqrt{ab}}}} \right ){\frac{1}{\sqrt{ab}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(1/(a+b/x^2)/x^2,x)

[Out]

1/(a*b)^(1/2)*arctan(a*x/(a*b)^(1/2))

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((a + b/x^2)*x^2),x, algorithm="maxima")

[Out]

Exception raised: ValueError

_______________________________________________________________________________________

Fricas [A]  time = 0.231282, size = 1, normalized size = 0.04 \[ \left [\frac{\log \left (\frac{2 \, a b x +{\left (a x^{2} - b\right )} \sqrt{-a b}}{a x^{2} + b}\right )}{2 \, \sqrt{-a b}}, \frac{\arctan \left (\frac{\sqrt{a b} x}{b}\right )}{\sqrt{a b}}\right ] \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((a + b/x^2)*x^2),x, algorithm="fricas")

[Out]

[1/2*log((2*a*b*x + (a*x^2 - b)*sqrt(-a*b))/(a*x^2 + b))/sqrt(-a*b), arctan(sqrt
(a*b)*x/b)/sqrt(a*b)]

_______________________________________________________________________________________

Sympy [A]  time = 0.313873, size = 53, normalized size = 2.21 \[ - \frac{\sqrt{- \frac{1}{a b}} \log{\left (- b \sqrt{- \frac{1}{a b}} + x \right )}}{2} + \frac{\sqrt{- \frac{1}{a b}} \log{\left (b \sqrt{- \frac{1}{a b}} + x \right )}}{2} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/(a+b/x**2)/x**2,x)

[Out]

-sqrt(-1/(a*b))*log(-b*sqrt(-1/(a*b)) + x)/2 + sqrt(-1/(a*b))*log(b*sqrt(-1/(a*b
)) + x)/2

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.231668, size = 20, normalized size = 0.83 \[ \frac{\arctan \left (\frac{a x}{\sqrt{a b}}\right )}{\sqrt{a b}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(1/((a + b/x^2)*x^2),x, algorithm="giac")

[Out]

arctan(a*x/sqrt(a*b))/sqrt(a*b)